package com.inspur.xiaoju.model;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

@Data
@Document(collection = "workspace_members")
public class WorkspaceMember {
    @Id
    private String id;
    private String workspaceId;
    private String userId;
    private String role;
    private String creator;
    private String creatorId;
    private String operator;
    private String operatorId;
    private Date createdAt;
    private Date updatedAt;
}